update examples to work on windows