[FSEvents] Fix build errors, bug #25432