Fixes for Emscripten build

This fixes the problems when building the Emscripten version of Csound