Don't link with library libsocket on mingw32