Oops! It worked in my last attempt, although it look a long time. So, my problem was Emscripten's version after all. Here is the version that worked:

emscripten-1.37.1

Note: I've used emsdk to install Emscripten and I had to install a matching LLVM/CLang version:

clang-e1.37.1-64bit