added ws2_32 and wsock32 target libraries to cmake files that is require...

...d to build under mingw