Fix dependency generation path