Fixed Emscripten build.