fix to new xcode project

makes this project compatible with XCode 4.2 and OSX 10.6 and 10.7