Use SDL threading instead of pthreads.