Fix MacOS static compilation with the audio addon.