issue #2790: Lua compilation fix.