Fixes audio issues when using CMake on Mac

Cmake build on Mac was broken due to Audio changes.
This PR fixes that.