Fix mcs on cygwin