compile against SDL2 if available