Switched User-Agent to use the version number instead of the build number

#1907