throw compile error when pthreads aren't available