Work with OSX 10.7 / xcode 4.6