A few small fixes for OS X/PPC.