Fix libraries fetching/distribution.