Fix building under Xcode 6 / iOS 8