Fix emscripten build.