Mingw socket compile fix