begin lua threads
fix the lua thread test
the Lua tests are not built when Lua has not been found