Resolve the compile warning for Lua bindings project