If using both FindLua and FindLua51 modules, the FindLua51 and Lua 5.2 or newer is found, FindLua51 module can set the Lua_VERSION variable to empty value. Instead, the Lua51_VERSION can be used to bypass this issue. Issue: #27088