Report clang errors and exit gracefully.