fix compilation with ghc 7.6.3
tests: remove Control.Exception.Lifted
cabal: set uper bound on the version of base
cabal: remove -O2 from cc-options as it's added automatically