compiler/docgen.nim relied heavily on $lib/packages/docutils being in
path at compile-time. While this works fine when building Nim itself,
things start breaking when using compiler as a nimble package.
Prior to the change, "nim check" would fail on any file besides the
main nim.nim, because the include paths for the documentation were
not set correctly and this produced various compilation errors.