Don't link against SDLmain.[a|lib], always compile it. We can use pure C MinGW cross compiled libraries with MSVC, and this is the only static library used.