Fixed missing line in GraphicsMac.h regression.
Fixed code generation with cmake on OSX/Xcode3
cmake will now generate projects, but more work needed to build osx examples