Fix call to makeglossaries: use `documentbase`