Make it easier to build against lua5.1 / lua5.2