Fix dependent libraries for downstreams