improved checking of Imagick support