Fixed checking iOS version for iOS 6.1