TS-2607: Fix TS_USE_HWLOC #define in build process