Use `patsubst' instead of `subst' in cleaning rule to avoid problems with filenames which contain `lo' in its name (e.g. ahglobal.lo).