[travis] Update build scripts for Xcode 6.1.