Added version flag based on build tooling.

Versioning needs to be driven from build tooling so we get a consistent match between components facilitating tracking/identification.

@peterbourgon @ohm @stuartnelson3 @elenadeneva92