Restore proper orientation to iOS 8 apps when building with xcode 5