small win32 fix for viewers