Added freetype2 support for the emscripten platform.