Optimize _build_version and fix the name