fix lua on ubuntu systems