add version logic for iOS 5+ MapKit