fix revert-copy-build versioning errors