Updated build to avoid libws2_32 dependencies.