fix build issues with documentation.