fix for compat with libgif4