Cleanup script for building on Travis and upgrade to iOS 7.1 target.