Fix SDL build on non-ffmpeg platforms