tweaks for Cygwin