Make it work in cygwin on Windows