fix linking of unitsync & co