diff --git a/TypeCompose.cabal b/TypeCompose.cabal
--- a/TypeCompose.cabal
+++ b/TypeCompose.cabal
@@ -1,5 +1,5 @@
 Name:                TypeCompose
-Version:             0.9.9
+Version:             0.9.10
 Synopsis: 	     Type composition classes & instances
 Category:            Composition, Control
 Cabal-Version:       >= 1.6
@@ -40,3 +40,5 @@
   ghc-options:         -Wall
 
   -- TODO: eliminate Pair or Zip
+
+--  ghc-prof-options:    -prof -auto-all 
diff --git a/src/Control/Compose.hs b/src/Control/Compose.hs
--- a/src/Control/Compose.hs
+++ b/src/Control/Compose.hs
@@ -904,10 +904,12 @@
 
 ---- For Control.Applicative.Endo
 
+#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ < 707
 -- deriving instance Monoid o => Monoid (Const o a)
 instance Monoid o => Monoid (Const o a) where
   mempty  = Const mempty
   mappend = inConst2 mappend
+#endif
 
 -- newtype Endo a = Endo { appEndo :: a -> a }
 
