try to block install when imagick is not installed