[emscripten] Do not link to system libraries

This is not meaningful when compiling to javascript, and causes warning
at linking stage.