fixed a bug in emscripten makefile
Merge pull request #3211 from azmeuk/emscripten-makefile

fixed a bug in emscripten makefile