Support for monad-control >= 1.0

Fixes #20. This should work with both monad-control >= 1.0.0.0 and the older versions.