Add libjpeg linkage.
Merge remote-tracking branch 'origin/master' into emscriptenate
Add libwebp linkage (needed for asm.js validation)
Now validates as asm.js: Disable HttpClient, pthread_cond_signal and eglReleaseThread in Emscripten.
Use asm.js by default.
Merge pull request #2541 from j4m3z0r/emscriptenate

Compile for Emscripten in asm.js mode