update headless stubs to SDL2