Use ungif its include files are in ungif/.... to not conflict with libgif