Added LuaJIT compatibility

Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
Merge pull request #8 from msva/master

Added LuaJIT compatibility