luajit works with luaext now, dies at runtime due to a bad call during _gc metamethod