sdl2: fix build failure on windows