[PATCH] src: add pthread_np.h include for FreeBSD