updated the way to handle clientlib dependencies