Refactor LuaJIT build scripts - no more generated CMakeLists.txt.