Include "pthread.h"

It isn't implicit on OpenBSD.
Merge pull request #121 from czarkoff/openbsd

Include "pthread.h"