Fix to make SDL2 work.