Code

clean Imagemagick detection and doesn't link anymore unused related libs (bug #179369)