* use pkg-config to resolve sdl and libcurl linker and compiler parameters
* -ggdb => -g

* llvm/emscripten doesn't like it
* some emscripten fixes/hacks

* neither curl nor gettext is available (yet) for emscripten
* for curl we will use the functions from the emscripten headers. Not sure about gettext yet
* fixed llvm compilation bug
* no ogg for emscripten
* more emscripten hacks