fix compilation errors due to lost of itkThumbnailGenerator.