build: Fix linkage of QEMU_PROG