Enable C++11 support.
Add detection of SDL using sdl2-config.