fix make dist so that it generates a tarball that works