added ws2_32 and wsock32 target libraries to cmake files that is required to build under mingw