Fixes allow key handling on windows
Merge pull request #5 from tokuhirom/fix_allow_key_win32

Fixes allow key handling on windows