build-with-version

$ ./build-with-version.sh -o foo
$ ./foo --version
etcd v0.4.6-322-gf61cba0