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.
Merge pull request #1064 from zao/fix-win64-compile-faults

Reorder includes to ensure ws2 includes early