when building from scrach in OpenBSD use threads instead of fork because of missing pthread_mutexattr_setpshared