fix netloc tests to properly use the internal hwloc headers