Let CMake look for either Lua or LuaJIT depending on a new flag

The flag is called WITH_LUAJIT and is "on" by default