Fix for cygwin environment