Fix compiling problem under CYGWIN.