strip -pthread from sdl-config --libs when needed