Fix the CLLocationManager issue for IOS8