Changed project settings to compile with latest OS X SDK and added support for compiling for 64 bit.