Fix dependencies of the qemu hooks