Better support for GHC < 7.8

Now older versions of GHC can also benefit from this work.   Also needed for my suggested solution to aeson issue #177.