configure: temporarily reworked so that I don't need to patch the generated config/Makefile any longer
Thread support is now even more broken, while I am debugging the same crash.  The cause appears to be signal handling (thread switch is performed by a dummy "SIGPREEMPTION" signal, from the tick thread).