diff --git a/Foreign/Ruby/Safe.hs b/Foreign/Ruby/Safe.hs
--- a/Foreign/Ruby/Safe.hs
+++ b/Foreign/Ruby/Safe.hs
@@ -40,6 +40,7 @@
 import Control.Concurrent.STM
 import Control.Monad
 import Foreign.Ruby.Bindings
+import Prelude
 
 type NoOutput = TMVar (Maybe RubyError)
 
diff --git a/hruby.cabal b/hruby.cabal
--- a/hruby.cabal
+++ b/hruby.cabal
@@ -1,8 +1,6 @@
--- Initial hruby.cabal generated by cabal init.  For further documentation,
---  see http://haskell.org/cabal/users-guide/
-
+cabal-version:       >= 2.0
 name:                hruby
-version:             0.3.5.1
+version:             0.3.5.3
 synopsis:            Embed a Ruby intepreter in your Haskell program !
 description:         This doesn't work with Ruby 1.9. Everything you need should be in Foreign.Ruby.Safe.
 license:             BSD3
@@ -12,9 +10,11 @@
 -- copyright:
 category:            Language
 build-type:          Custom
-cabal-version:       >=1.8
 extra-source-files:  test/*.rb
 
+custom-setup
+  setup-depends: Cabal, base, process
+
 source-repository head
   type: git
   location: git://github.com/bartavelle/hruby.git
@@ -23,8 +23,6 @@
 library
   exposed-modules:      Foreign.Ruby, Foreign.Ruby.Bindings, Foreign.Ruby.Helpers, Foreign.Ruby.Safe
   ghc-options:          -Wall
-  -- ghc-prof-options:     -caf-all -auto-all
-  extensions:           BangPatterns, OverloadedStrings
   build-depends:        base >= 4.6 && < 5
                         , aeson                >= 0.7
                         , bytestring           >= 0.10.0.2
@@ -39,12 +37,12 @@
   include-dirs:         cbits
   Includes:             ruby.h
   extra-libraries:      ruby
+  default-language:     Haskell2010
 
 Test-Suite test-roundtrip
   hs-source-dirs: test
   type:           exitcode-stdio-1.0
   ghc-options:    -Wall -threaded
-  -- ghc-prof-options:     -caf-all -auto-all
-  extensions:     OverloadedStrings
   build-depends:  base >= 4.6 && < 5,hruby,aeson,QuickCheck,text,attoparsec,vector
   main-is:        roundtrip.hs
+  default-language:     Haskell2010
