Only compile in threaded video option if HAVE_THREADS.