Try to fix libgif dependency for Travis.