A CMakeLists.txt that works on OSX
Some information on how to compile on Mac OS X