[NSAlert] Fix build error, bug #25431