proper qemu detection