by the configure. Instead, set LDFLAGS so that unproven-pthreads can be found before pth. Fixes pr #11418.