The run part has different output across minor versions, the others not.
Dropped test files identification statement as now the variable part is
in small chunks.
The -E flag to specify extended regular expressions apparently is
not portable to all platforms, such as CentOS 4.5. Use an uglier
but hopefully more portable basic regular expression in Makefiles.