Tweaked mkdist.sh