test/Doctests.hs: support new Cabal autogen path in doctests.