Use skimage label if ndimage fails.