remove pthread-stub dependency