added emscripten support to Makefile