Fix rdoc generation script