Merge pull request #8206 from ricardoquesada/cmake_mac_audio_fixes

Fixes audio issues when using CMake on Mac
Fix copy files in cpp-empty-test in MSVC build
Merge pull request #8208 from ledenis/fix-copy-msvc

Fix copy files in cpp-empty-test in MSVC build