This patch attempts to embed the VCS id in binaries, based on the way other projects seem to do this.