SDL2 improvements for Windows target