hotfix for meh using giflib 5.x

Just a very short hack to make meh compile and link against giflib 5.x.