Fix problem with running on pre-iOS 6.  Tested on iOS 5.1.1.