Fix rdoc task

Fixes build failures on travis.