Fixed an OSX error. Refs #8655.