Fix winsock linking problem on Windows