backport from curl 7.20 to keep mingw compiler from complaining about already defined defs