Various fixes to get vers_string to work as a subproject.