Fixed emscripten build error.