Attempt to fix OSX build. Refs #9084.