Fix compilation flags for Cygwin.