Fix syntax error in emscripten build.