Adjust clang version check to detect custom compiler vendor strings. #2698