compatibility with Xcode 4