freetype: strip target library and remove freetype-config if not needed