Make it work on Cygwin