rB94f83a4ebd929e7c4f405b1c78d9db842dfe1689 introduced a dependency on pthreads but did not add it to the linker inputs.