Backwards compatibility with Xcode 5 / iOS 7