Fix dependency management