* support emscripten in-tree build