fixed build on mingw

 the automatic linking of the boost dependencies using #pragma comment(lib, "ws2_32") doesn't work with mingw