LuaJIT semi-compatibility (actually, buildsystem itself need to be rewritten properly)

Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>