Fix compilation with Emscripten.
Add pkg-config file.