Fix to build w/ emscripten