fix mingw-w64-winpthreads link