Fixed for Cygwin