fix compilation without SDL