fixed compilation for PowerPC architecture on Mac OS X