Replace last C++ error messages by fprintf(stderr, ...)