Fix Lua version check for int64