use SDL threads instead of SFML threads