Fix stupid dependency copying.