use global preprocessor constant WITH_SDL instead of SDLDC