fix detection of LIBCC for compiler-rt with clang