Fix crash for Magick++, Gif and other targets utilizing init() function