fallback to use cabal to install pandoc