replaced wget for curl since curl shouldn't complain about the certificate

as seen in issue https://github.com/haskell/cabal/issues/1796