Fixed copying dll files failing on mono.