minimal fix for windows compilation
fix includes for MSVC
avoid {} initialization
Fix indentation/spacing.
stl-hacking patch to avoid output iterator copying