Sample now compiles on windows