add fallback for failed version-number parsing (JuliaLang/julia#7282)