TS-3109: fix libhwloc linking on Ubuntu