Fix rst compilation errors