Remove c++ cruft from configure

Refs #4247