This also attempts to enable at least some degree of debug info on 32-bit hosts as well as prepare for future ppc32 support. It also synchronizes patches with firefox.