fix lua52 dependency