Fix build on OSX. Refs #9970