fix the redist dir copy