Sonority: Fixes for macOS Sonoma

Compatibility-fixes for macOS Sonoma