Fix building for qemu