Fixed clang version checking and added missing files