Added support for the Thread package if asked to compile a threaded Tcl