Support Cabal 1.8

Gives warnings about the benchmark and test-suite sections, but these
do not prevent it from configuring and building correctly.

Closes #13