Fixed SDL build on MinGW.