fixing inline iterator for newer luarocks