Fixes for iOS 7, moving deploy target to iOS 6