Ensure that std::ostream is fully defined before trying to do things with it.