reflect library only working on LuaJIT 2.0 at present