-lmingw32 needs to come before the SDL lib.s