Fix stdin error on Windows
Merge pull request #2 from shirosaki/fix_stdin

Fix stdin error on Windows