alto2: Compile fix for windows and exception at exit fixed (nw)