Adding libgif4 dependency.