fix win32 api backend support