Fix luajit/lua53 compat

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