Added RDoc 4.0.1 dependency, removed #ifdef's

As the title says, this adds RDoc >= 4.0.1 as a dependency and removes the #ifdef kludge from the files where it was used.