Refs #7956 fix osx builds