Configure first, otherwise never Cabal versions complain.