add uniqDeep to percol-history
fix typo of ghc option
change tmpdir of ghc