bugfix: on osx/linux the environment variable is just called "USER"

As it's stated in the title ... username cannot be resolved from environment currently when in linux or mac os x. This pull requested fixes the problem.