[libc] Make more of the libc unit testing llvm independent