Updated demo1b to compile on Windows