SDL2 support

Add the sdl2 support to be able to use OpenGL3+ on Mac OS X