Small fixes in copy_python target.