Fix incompatibilities with latest glossaries

Closes #29