Add copy-history to build-dist target dependencies