compile and link sdl.cpp if WITH_SDL is set