Fix two minor problems

That make hackager fail on newer cabal.