Fix winpthreads scripts for new architectures
Merge pull request #272 from Alexpux/mingw-w64-builds

Fix winpthreads scripts for new architectures