fix Issue 12860 - typeid(_error_) symbols leaked to backend