Fix cygwin method.