Fix pkg-config compilation for Linux
Fix QEMU compilation for Linux