Changes to repack_indexdef() had broken this test.
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.