add winsocks library on windows, needed for ntohl