bugfix: compile under windows for iostream