Lua 5.1 (luajit) compatability

Just so luajit can work with this package. All tests pass.