fix warnings for cygwin again