Clang: better error handling for finding src dirs