better clang detection