Support base < 4.6 / GHC 7.4.

Fixes #10.