Avoid spurious warnings when building on cygwin.