patch applied (cabal): Fix #396 and add let .Haddock find autogen modules