fix Windows MinGW64 build

This allows the simple_broker build to properly use Winsock2 for htonl so it builds on Windows with MinGW64 GCC.