Fix CoreLocation use for iOS 8.