diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,7 @@
+# 1.0.7
+
+* Fix the build when building with GHC instead of GHCJS (an import was incorrectly protected by CPP)
+
 # 1.0.6
 
 * Fix a rare bug in stateful view event handlers: occasionally deepseq was not called and so there
diff --git a/react-flux.cabal b/react-flux.cabal
--- a/react-flux.cabal
+++ b/react-flux.cabal
@@ -1,5 +1,5 @@
 name:                react-flux
-version:             1.0.6
+version:             1.0.7
 synopsis:            A binding to React based on the Flux application architecture for GHCJS
 category:            Web
 homepage:            https://bitbucket.org/wuzzeb/react-flux
diff --git a/src/React/Flux/Views.hs b/src/React/Flux/Views.hs
--- a/src/React/Flux/Views.hs
+++ b/src/React/Flux/Views.hs
@@ -3,12 +3,12 @@
 
 import Control.Monad.Writer
 import Data.Typeable (Typeable)
+import Control.DeepSeq
 
 import React.Flux.Store
 import React.Flux.Internal
 
 #ifdef __GHCJS__
-import Control.DeepSeq
 import System.IO.Unsafe (unsafePerformIO)
 import React.Flux.Export
 import JavaScript.Array
