mute deprecated warning on cygwin