patch applied (cabal-branches/cabal-1.8): MERGED: Get the correct value of $topdir on Windows with GHC 6.12.1