explicitly include <iostream> in files which use std::cout or std::cerr