Add missing #include <iostream> to fix Linux build.