remove distructors from generated cpp output