Add support for SDL2.