Travis osx - script error fix