Replace <iostream.h> includes and similar with c++ headers, and use the standard namespace to fix breakage on DragonFly and NetBSD 5.99.