Support for building under OSX 10.8 on Xcode 4