fix compilation when lua is not installed (not just disabled)