Add dist_dir to output variables.