Compile on 'modern' OS X

It's a monumental pain in the ass to trackdown old SDKs to build against, and Apple hasn't made a 32-bit system since forever.

I've updated the build files so this can actually build on Mavericks (10.9) and run on 10.8+