OpenBSD needs to be linked against pthreads