rename LUA_DEBUG to LG_DEBUG.