Allow compilation with Xcode 4