Fix compile error for Lua