diff --git a/Text/Search/Sphinx.hs b/Text/Search/Sphinx.hs
--- a/Text/Search/Sphinx.hs
+++ b/Text/Search/Sphinx.hs
@@ -28,7 +28,7 @@
 import Data.Int (Int64)
 
 import Network (connectTo, PortID(PortNumber))
-import IO (Handle, hFlush)
+import System.IO (Handle, hFlush)
 import Data.Bits ((.|.))
 
 import Prelude hiding (filter, tail)
diff --git a/sphinx.cabal b/sphinx.cabal
--- a/sphinx.cabal
+++ b/sphinx.cabal
@@ -1,5 +1,5 @@
 Name:            sphinx
-Version:         0.4.0.4
+Version:         0.4.0.5
 Synopsis:        Haskell bindings to the Sphinx full-text searching deamon.
 Description:     Haskell bindings to the Sphinx full-text searching deamon. Compatible with sphinx version 1.1
 Category:        Text, Search, Database
@@ -19,5 +19,6 @@
 Build-Type:      Simple
 Build-Depends:   base >= 4 && < 5,
                  binary, data-binary-ieee754,
-                 bytestring, network, haskell98,
+                 bytestring, network,
                  xml, utf8-string >= 0.3
+
