Fixes for Windows SDL2 builds.