Revert back the condition as the issue is with Travis CI OSX build env.
[ci skip]

A new issue is opened at their repo: https://github.com/travis-ci/travis-ci/issues/2085.
If it could not be resolved quickly then we will force to export that environment variable in our own .travis.yml file.