Attempt to fix cpp error. Refs #9084.