configure.ac: Quell configure warnings on Cygwin

Building on Cygwin caused warnings about unknown path to 'ar' and a more
serious looking warning about 'ws2tcpip.h'.  These have been fixed.