diff --git a/Setup.hs b/Setup.hs
--- a/Setup.hs
+++ b/Setup.hs
@@ -7,7 +7,6 @@
 import           Data.List
 import           Data.Maybe
 import           Data.Tree.NTree.TypeDefs
-import           Debug.Trace
 import           Distribution.Simple             hiding ( Module(..) )
 import           Distribution.Simple.PreProcess
 import           Distribution.Types.BuildInfo
@@ -111,7 +110,7 @@
 defShow (NTree (XTag h' []) inners)
   | h' `elem` map (mkName . (:) 'h' . show) [1 .. 9 :: Int]
   = replicate (read $ drop 1 $ strip $ show h') '=' ++ " " ++ concatMap defShow inners
-defShow (NTree (XTag p' attrs) inners)
+defShow (NTree (XTag p' _) inners)
   | p' == mkName "p"
   = map (\case
       '\n' -> ' '
diff --git a/cairo-core.cabal b/cairo-core.cabal
--- a/cairo-core.cabal
+++ b/cairo-core.cabal
@@ -1,5 +1,5 @@
 name:                cairo-core
-version:             1.16.4
+version:             1.16.5
 synopsis:            Cairo Haskell binding (core functions)
 description:         Cairo Haskell binding (core functions). Please checkout cairo-opts for other functions.
 homepage:            https://github.com/magicloud/cairo-core#readme
@@ -10,7 +10,7 @@
 copyright:           None
 category:            Graphics
 build-type:          Custom
-extra-source-files:  README.md, Changelog
+extra-source-files:  README.md, Changelog, include/cairo-core.h
 cabal-version:       2.0
 
 custom-setup
@@ -50,7 +50,6 @@
                      , monad-extras
                      , transformers
   default-language:    Haskell2010
-  c-sources:           include/cairo-core.h
   include-dirs:        include
   pkgconfig-depends:   cairo
   build-tools:         c2hs
