fix os.name of Windows

`os.name` of Windows is 'nt', https://docs.python.org/3.4/library/os.html#os.name