Fixed crash when not all Lua standard libraries are loaded.