cygwin workarounds