Update for GHC 7.8 and bump version to 0.4.1

This is backwards compatible with GHC 7.6.