Fix compiling issue on CYGWIN.