Updated CMake files to build/run on OSX

I still need to fix up the precompiled headers, and the _vscprintf stuff, but
other than that, it's pretty sweet!