write out BUILD_VERSION file with version string generated in build

This will ensure the version released to Omnitruck matches alternate
build_version formats (like SemVer).
look for BUILD_VERSION file if `version` option is unset