fix cmake osx
changed compiler setting in xcode project
making xcode projects to work