Make dependency on libvirt dynamic

Fixes bug 1184960

Change-Id: I3e6507059a393ec001080662d968a78f4b9416ea