updated clang detection