diff --git a/happstack-server.cabal b/happstack-server.cabal
--- a/happstack-server.cabal
+++ b/happstack-server.cabal
@@ -1,5 +1,5 @@
 Name:                happstack-server
-Version:             7.4.6.2
+Version:             7.4.6.3
 Synopsis:            Web related tools and services.
 Description:         Happstack Server provides an HTTP server and a rich set of functions for routing requests, handling query parameters, generating responses, working with cookies, serving files, and more. For in-depth documentation see the Happstack Crash Course <http://happstack.com/docs/crashcourse/index.html>
 License:             BSD3
@@ -9,7 +9,7 @@
 homepage:            http://happstack.com
 Category:            Web, Happstack
 Build-Type:          Simple
-Cabal-Version:       >= 1.8
+Cabal-Version:       >= 1.10
 Extra-Source-Files:  tests/Happstack/Server/Tests.hs README.md
 tested-with:         GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.2, GHC==8.0.1
 
@@ -20,7 +20,7 @@
 Flag template_haskell
     Description: Template Haskell is available on this system
     Default: True
-    Manual: True
+    Manual: False
 
 flag network-uri
     description: Get Network.URI from the network-uri package
@@ -75,7 +75,7 @@
      build-depends:    network               < 2.6
   Build-Depends:       base                   >= 4    && < 5,
                        base64-bytestring      == 1.0.*,
-                       blaze-html             >= 0.5  && < 0.9,
+                       blaze-html             >= 0.5  && < 0.10,
                        bytestring,
                        containers,
                        directory,
@@ -93,6 +93,7 @@
                        system-filepath        >= 0.3.1,
                        syb,
                        text                   >= 0.10  && < 1.3,
+                       template-haskell                   < 2.12,
                        time,
                        time-compat,
                        threads                >= 0.5,
@@ -103,9 +104,9 @@
                        xhtml,
                        zlib
 
-  if (flag(template_haskell) && !(arch(arm)))
-    Build-Depends:     template-haskell
+  if flag(template_haskell)
     cpp-options:       -DTEMPLATE_HASKELL
+    other-extensions:  TemplateHaskell
 
   hs-source-dirs:      src
 
@@ -113,13 +114,12 @@
      Build-Depends:    unix
      cpp-options:      -DUNIX
 
-  Extensions:          TemplateHaskell, DeriveDataTypeable, MultiParamTypeClasses,
+  Extensions:          DeriveDataTypeable, MultiParamTypeClasses,
                        TypeFamilies, FlexibleContexts, OverlappingInstances,
                        FlexibleInstances, UndecidableInstances, ScopedTypeVariables,
                        TypeSynonymInstances, PatternGuards
                        CPP, ForeignFunctionInterface
   ghc-options:         -Wall -fwarn-tabs
-  GHC-Prof-Options:    -auto-all
   -- The policy is to support GHC versions no older than the GHC stable
   -- branch that was used by the latest Haskell Platform release
   -- available 18 months ago. In order to avoid people spending time
