Fixed build for giflib version >= 5.0; fixed issue #90