Fixing build in imagick adapter