TRAVIS_OS_NAME is not set in all cases

Previous build failed as the name was not set correctly, just assume
we're osx if not on linux