* hacky compilation fix for OSX PPC. Please review