[libvirt] [PATCHv2 3/3] build: avoid strtol and strtod