Add script for building mysql/mariadb client library (need for Qt mysql plugin)
Remove more extra stuff and use more MSYS2 tools instead.
Remove unused variables.