added version check for LuaJIT: LuaJIT 2.1+ is recommended.