Fix --without-hwloc builds

cmr=v1.7.4:reviewer=jsquyres