diff --git a/fast-logger.cabal b/fast-logger.cabal
--- a/fast-logger.cabal
+++ b/fast-logger.cabal
@@ -1,5 +1,5 @@
 Name:                   fast-logger
-Version:                2.4.15
+Version:                2.4.16
 Author:                 Kazu Yamamoto <kazu@iij.ad.jp>
 Maintainer:             Kazu Yamamoto <kazu@iij.ad.jp>
 License:                BSD3
@@ -8,12 +8,13 @@
 Description:            A fast logging system
 Homepage:               https://github.com/kazu-yamamoto/logger
 Category:               System
-Cabal-Version:          >= 1.8
+Cabal-Version:          >= 1.10
 Build-Type:             Simple
 Extra-Source-Files:     README.md ChangeLog.md
 Tested-With:            GHC ==7.8.4 || ==7.10.3 || ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.3
 
 Library
+  Default-Language:     Haskell2010
   GHC-Options:          -Wall
   Exposed-Modules:      System.Log.FastLogger
                         System.Log.FastLogger.File
@@ -36,20 +37,25 @@
                       , unix-compat
   if impl(ghc < 7.8)
       Build-Depends:    bytestring-builder
+  if impl(ghc >= 8)
+      Default-Extensions:  Strict StrictData
 
 Test-Suite spec
-    Main-Is:         Spec.hs
-    Hs-Source-Dirs:  test
-    Type:            exitcode-stdio-1.0
+  Main-Is:          Spec.hs
+  Hs-Source-Dirs:   test
+  Default-Language: Haskell2010
+  Type:             exitcode-stdio-1.0
 
-    Ghc-Options:     -Wall -threaded
-    Other-Modules:   FastLoggerSpec
-    Build-Tools:     hspec-discover >= 2.6
-    Build-Depends:   base >= 4 && < 5
-                   , bytestring
-                   , directory
-                   , fast-logger
-                   , hspec
+  Ghc-Options:      -Wall -threaded
+  Other-Modules:    FastLoggerSpec
+  Build-Tools:      hspec-discover >= 2.6
+  Build-Depends:    base >= 4 && < 5
+                  , bytestring
+                  , directory
+                  , fast-logger
+                  , hspec
+  if impl(ghc >= 8)
+      Default-Extensions:  Strict StrictData
 
 Source-Repository head
   Type:                 git
