Return 0 when the version string can not be properly parsed.