Fix dist.sh to use main.go for version grepping