Use BinarySearch function instead of lower_bound.
Tag builds with Git commit SHA-1 and branch info.