Fix SDL2 build with cmake