POSIX thread conf check: preserve LIBS