Fix compilation issue with the iOS 8 SDK