configure.ac (HAVE_IMAGEMAGICK): Check on NS also.