Add support for iOS 6.1 and OS X 10.8