Conditionally build with MPL and BSD2 support.

MPL and BSD2 support was added in Cabal 1.19.2.
Merge pull request #24 from creichert/master

Conditionally build with MPL and BSD2 support.