Workaround weird assertion error when using luajit.