Fix for cygwin