Fix compilation in non-maintainer-mode.