doc: build fixes