ENH: fix for building under Cygwin
ENH: fix again for Cygwin