fix unitsync linking as well