Fixed the project to build on OS X