Add simple build script.

Based on https://github.com/coreos/etcd/blob/master/build