(OSX PPC) Build fixes