fix unitsync linking #2