Fix up the lua bits so they build