diff --git a/Simulation/Aivika/RealTime/Generator.hs b/Simulation/Aivika/RealTime/Generator.hs
--- a/Simulation/Aivika/RealTime/Generator.hs
+++ b/Simulation/Aivika/RealTime/Generator.hs
@@ -88,7 +88,7 @@
     case tp of
       SimpleGenerator ->
         do let g = MWC.uniform <$>
-                   MWC.withSystemRandom (return :: MWC.GenIO -> IO MWC.GenIO)
+                   MWC.createSystemRandom
            g' <- liftIO g
            newRandomGenerator01 (liftIO g')
       SimpleGeneratorWithSeed x ->
diff --git a/aivika-realtime.cabal b/aivika-realtime.cabal
--- a/aivika-realtime.cabal
+++ b/aivika-realtime.cabal
@@ -1,5 +1,5 @@
 name:            aivika-realtime
-version:         0.3
+version:         0.3.1
 synopsis:        Soft real-time simulation module for the Aivika library
 description:
     This package allows running soft real-time simulations based on the aivika-transformers [1] library.
@@ -13,7 +13,7 @@
 author:          David Sorokin
 maintainer:      David Sorokin <david.sorokin@gmail.com>
 homepage:        http://www.aivikasoft.com
-cabal-version:   >= 1.6
+cabal-version:   >= 1.10
 build-type:      Simple
 tested-with:     GHC == 7.10.3
 
@@ -43,20 +43,22 @@
                      stm >= 2.4.2,
                      containers >= 0.4.0.0,
                      random >= 1.0.0.3,
-                     mwc-random >= 0.13.0.0,
+                     mwc-random >= 0.13.1.0,
                      async >= 2.0,
                      time >= 1.5.0.1,
                      vector >= 0.10.0.1,
-                     aivika >= 5.2,
-                     aivika-transformers >= 5.2
+                     aivika >= 5.9.1,
+                     aivika-transformers >= 5.9.1
 
-    extensions:      TypeFamilies,
-                     MultiParamTypeClasses,
-                     FlexibleInstances,
-                     FlexibleContexts,
-                     UndecidableInstances
+    other-extensions:   TypeFamilies,
+                        MultiParamTypeClasses,
+                        FlexibleInstances,
+                        FlexibleContexts,
+                        UndecidableInstances
 
     ghc-options:     -O2
+
+    default-language:   Haskell2010
 
 source-repository head
 
