package imagemagick: fix detection of freetype