Fixes to compile on emscripten