Reorder includes to ensure ws2 includes early

If the header order is wrong (hpx_init too late) windows.h ends up being
included before ws2_32.h, which causes several conflicts inside of
Winsock2, blocking the compilation.