Switched travis ci script from xctool to xcodebuild