newt: more Win32 fixes