Fix build for WITH_AUDIO=0.
Merge pull request #1 from jorgenpt/fix-no-audio-build

Fix build for WITH_AUDIO=0.