binary GET supports TMPFAIL

bug263
minor clang compile fixes
Created DETECT_CLANG autoconf function, and excluded '-pthread' from CFLAGS when GCC is clang