viewer compiles on windows