Updated Cabal dependency to a newer version

This patchs sets Cabal dependency to the `[1.18.1 .. 1.19)` range. The range starts at 1.18.1 to avoid some bugs that were fixed in this version. I have had to remove some instances that are now already defined at the `Distribution.Package` module of Cabal.