Use the CMake scripts from the bear project to find the SDL.
Fix header inclusion for SDL2.