Cleanup mttest.c : modernise the threads setup