More Cygwin fixes