Fix for compilation on BSD and mingw (#2180)
Fix for compilation on BSD and mingw (#2180)

* fix for cross compilation on bsd and mingw platforms

* move mingw statements otherwise they will never hit?

* include winsock2.h before czmq_classes.h, indent precompiler statements
opedroso/czmq,zeromq/czmq,opedroso/czmq,opedroso/czmq,opedroso/czmq,zeromq/czmq,zeromq/czmq,opedroso/czmq,opedroso/czmq,zeromq/czmq,opedroso/czmq,zeromq/czmq,opedroso/czmq,zeromq/czmq,opedroso/czmq,zeromq/czmq,zeromq/czmq