Fixed building in debugging mode
Implemented basic WAV playback support