Add DLL building support to autotools scripts
IPV6_V6ONLY set by default on win32