os.platform returned unexpected value on Windows