Fix missing m4 macros on RHEL5/RHEL6.