Fix winpthreads scripts for new architectures