[EMSCRIPTEN] makefile changes