add missing globals for Windows stuff.