Add clang version detection (also in case of Apple clang).