fix sdl2 build on windows