Fix IPv6 test on win32, in case we're not crosscompiling.
Additionally, remove useless -D_REENTRANT (which had a typo and
was -D_RENTRANT and is added by acx_pthread.m4 anyway if it's needed).