Change OSX build configuration to use glfw3 as an external dependency
Clean up some platform headers
darwin.cmake now creates working xcode projects for the OS X build