fix os.name of Windows

os.name of Windows is 'nt', https://docs.python.org/3.4/library/os.html#os.name
Merge pull request #331 from SteelyWing/patch-1

fix os.name of Windows