Shankar kindly pointed out that I wasn't following the coding convention properly, so moving raw_ostream.h above system_error.h.