diff --git a/Text/Shakespeare/Text.hs b/Text/Shakespeare/Text.hs
--- a/Text/Shakespeare/Text.hs
+++ b/Text/Shakespeare/Text.hs
@@ -21,6 +21,7 @@
 import qualified Data.Text as TS
 import qualified Data.Text.Lazy as TL
 import Text.Shakespeare
+import Data.Int (Int32, Int64)
 
 renderText :: Builder -> TL.Text
 renderText = toLazyText
@@ -35,6 +36,9 @@
 instance ToText [Char ] where toText = fromLazyText . TL.pack
 instance ToText TS.Text where toText = fromText
 instance ToText TL.Text where toText = fromLazyText
+
+instance ToText Int32 where toText = toText . show
+instance ToText Int64 where toText = toText . show
 
 settings :: Q ShakespeareSettings
 settings = do
diff --git a/shakespeare-text.cabal b/shakespeare-text.cabal
--- a/shakespeare-text.cabal
+++ b/shakespeare-text.cabal
@@ -1,5 +1,5 @@
 name:            shakespeare-text
-version:         0.10.3
+version:         0.10.4
 license:         BSD3
 license-file:    LICENSE
 author:          Greg Weber <greg@gregweber.info>
@@ -38,6 +38,8 @@
 
     exposed-modules: Text.Shakespeare.Text
     ghc-options:     -Wall
+    if impl(ghc >= 7.4)
+       cpp-options: -DGHC_7_4
 
 test-suite test
     hs-source-dirs: test
