Fixing compatibility with Xcode 4.x