Refs #8116 Add check for platform.