Include pthread_np.h on OpenBSD & FreeBSD and allow for differing thread function name & location in NetBSD.