Fix an issue with valgring version retrieving