Support shouldAutorotate if building for both iOS 5 and iOS 6