Fixed OSX project so it compiles