Changes to run on Cygwin.