fix absolute path in emscripten