Restore necessary copy-dependencies step