fix build error on Travis CI by avoid checking case for ENV['os']