Adjustments to compile libphoenix on Mac OS X.