Added cmake file for SDL2
Added conditional logic in cmake files for choosing SDL or X11