Ghc 7.6

changes needed for GHC 7.6