win32: fix binaries
fixup compile errors