Use EXPORTED_FUNCTIONS file instead of EMSCRIPTEN_KEEPALIVE