Making pylib to run in windows
Replacing $USER with getpass.getuser