Fix win32 build without the "window" feature