Modifications to make Gear2D compile using SDL2 (and on Windows)