fix freetype support