Checking that WindowsViewer is only loaded on Windows platforms