Pathscale 4.0.0's stdlib (rw) has a <streambuf> that doesn't include <iostream>; added an include to <iostream> here as this file needs it.