Rename our global Lua object.

This avoids the warning on all the primitive functions:

    warning: declaration shadows a local variable [-Wshadow]
Fixed the final use - to avoid compilation error.