move emscripten_GetProcAddress to a C library, so that it is less hackish and can work in fastcomp