Added static_cast to overide checking of converting CSGObjective* to CPreprocessor*.