LuaSettings: Sanitize setting name strings
Fix build
Note: this does not fix the warnings generated by clang