minor: build fixes for toctress.