Fixed for cygwin