duti: fix Yosemite build.

Closes #33009.
Closes #33011.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>