support for env on osx