Compatibility with Xcode 6/iOS 8 beta 5