Fixed configure.in to fail the __thread check with clang