Fix build for Xcode 5 / iOS 7