common: Fix Win32 linking by adding ws2_32 to libraries