cmake windows: check ws2_32 after winsock2.h

refs #1691