build tweaks for uploadArchives