Fix "Malformed version number string" errors