diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,5 +1,11 @@
 # Revision history for wikicfp-scraper
 
+## 0.1.0.5  -- 2016-10-17
+
+* Confirmed build with `scalpel-0.4.0`.
+* Now this module uses CPP to deal with changes introduced in `scalpel-0.4.0`.
+
+
 ## 0.1.0.4  -- 2016-10-09
 
 * Confirmed build with `hspec-2.3.0`.
diff --git a/src/Web/WikiCFP/Scraper/Scalpel.hs b/src/Web/WikiCFP/Scraper/Scalpel.hs
--- a/src/Web/WikiCFP/Scraper/Scalpel.hs
+++ b/src/Web/WikiCFP/Scraper/Scalpel.hs
@@ -4,6 +4,13 @@
 -- Maintainer: Toshio Ito <debug.ito@gmail.com>
 --
 -- 
+{-# LANGUAGE CPP #-}
+
+-- Since scalpel-0.4.0, Selector, AttributeName and TagName are data
+-- types (not type classes) that are instances of IsString.
+#if MIN_VERSION_scalpel(0,4,0)
+{-# LANGUAGE OverloadedStrings #-}
+#endif
 module Web.WikiCFP.Scraper.Scalpel
        ( ErrorMsg,
          Scraper',
diff --git a/wikicfp-scraper.cabal b/wikicfp-scraper.cabal
--- a/wikicfp-scraper.cabal
+++ b/wikicfp-scraper.cabal
@@ -1,5 +1,5 @@
 name:                   wikicfp-scraper
-version:                0.1.0.4
+version:                0.1.0.5
 author:                 Toshio Ito <debug.ito@gmail.com>
 maintainer:             Toshio Ito <debug.ito@gmail.com>
 license:                BSD3
@@ -17,7 +17,8 @@
   default-language:     Haskell2010
   hs-source-dirs:       src
   ghc-options:          -Wall -fno-warn-unused-imports
-  -- default-extensions:   
+  -- default-extensions:
+  other-extensions:     OverloadedStrings, CPP
   exposed-modules:      Web.WikiCFP.Scraper
                         
   other-modules:        Web.WikiCFP.Scraper.Type,
@@ -25,7 +26,7 @@
   build-depends:        base >=4.6.0 && <5.0,
                         bytestring >=0.10.0 && <0.11,
                         text >=0.11.3.1 && <1.3,
-                        scalpel >=0.2.1 && <0.4,
+                        scalpel >=0.2.1 && <0.5,
                         time >=1.4.0 && <1.7,
                         attoparsec >=0.10.4 && <0.14
 
