SDL: fix build
Makefile: fix mingw cross-build under linux. also, static linkage with libstd++ and shits :(