Fix issues with building docs.