Fix OS X Travis scripts