Fix version detection for old libgif versions
Merge pull request #1 from chouquette/master

Fix version detection for old libgif versions