Changes for a happier Xcode compile.

I hope the current setup will be easy for anyone to import into either
an Xcode, visual studio, or makefile-based project.