Getting these errors when trying to add lua 5.1 to types 