EMSCRIPTEN hepling for c++ class with unreal engine 4

This looks promising, but the problem is that I get a console error in the browser when trying to call Module.ccall:

'ccall' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)

In the Emscripten FAQ it says that most of the exported functions were removed to save some space and that you need to add it to the aforementioned EXTRA_EXPORTED_RUNTIME_METHODS. But I have no idea how to do that in Unreal, because it manages the emscripten build on it’s own. I would expect some options for that one in the HTML5 section of the Platform settings… But so far I see no way of setting it. Any ideas?