fix clang version detection