(Softfilter) buildfix for targets that don't have HAVE_THREADS
defined