win32: fix issues with import