Cygwin compatibility bugfix
Merge pull request #1 from JakubKohout/master

Cygwin compatibility bugfix