replaced freetype with compiled-in version, +minor changes