Try -DHAVE_PTHREADS