Check for iOS 7 in a way that works in Xcode 4