build.sh needs -threaded for -qg and -qb

without this I get:

Linking _shake/build ...
build: the flag -qg requires the program to be built with -threaded
build: the flag -qb requires the program to be built with -threaded

This change is probably needed for build.bat too, but I don't use Win so didn't test.