Fix for newer Cygwin releases