Fix build on Windows/Cygwin.