qemu-char: fix win32 build