Using old build method until travis upgrades xcode.