#137 add stack to examples to run correctly on windows and linux