added the SDL stuff to make it easier to build with mingw32