Add winpthreads build
Add installation to /usr/local
Refactor
Compile mingw tools