Properly fix server and tty client usage of SDL.
TTY client needs pthread.