Fixes audio issues when using CMake on Mac
Adds missing includes
Merge pull request #8206 from ricardoquesada/cmake_mac_audio_fixes

Fixes audio issues when using CMake on Mac