[libvirt] [PATCH] Improve compiler flag checking