Fix the SFML renderer to work with non-MSVC compilers