Rewrited error_exit() in default.cc