Synced with v4.11 of `glossaries.sty'