TRQ-2561: Fix for ./configure --with-hwloc failing on CentOS 5.