add another check for pthread on openbsd