added static sdl2 support