Remove libwinpthread-1.dll dependency for newer MinGW-w64 builds

Removed by adding -static to the compiler flags