Fix build without freetype.