Fix building for qemu
Merge pull request #10 from zxombie/master

Fix building for qemu