Fix compile for cygwin GCC.