Fix the Windows builds

- Copy the program_options dll to the build folder, and bundle it with
the installer.
- Add missing <iostream> include.
- Update .gitignore.