make: link with pthreads