fix compilation without lua