Fix include links for filenames which are suffixes of other filenames.

Previously if bar.h and foo_bar.h both existed then #include "bar.h" would not be hyperlinked.