Simplify the InheritAutotools pattern by using \b to match word boundaries.