Fix dist.sh

Set GOOS to the target os when running 'go build'.