Work around Travis bug in how env var is set.

TRAVIS_OS_NAME isn't set of the repo isn't setup for multi OS support,
which breaks the build. So work around until the bug is fixed.