Fix fontconfig and smf