Get rid of c++ core.