A fix for SDL for mingw windows compiling.

You shouldn't have to put SDL/SDL2 in the root include directory. If your machine is setup like that, then your machine is setup wrong. At least for mingw. MSVC puts it in the base directory by default, but they don't have to build with the Makefile.

This also fixes a few compile time bugs I stumbled across.