version_compare fails if whitespaces are present