Fix compilation with osxfuse.

Complement modification made in #26086.