diff --git a/Network/IRC/Bot/PosixLogger.hs b/Network/IRC/Bot/PosixLogger.hs
--- a/Network/IRC/Bot/PosixLogger.hs
+++ b/Network/IRC/Bot/PosixLogger.hs
@@ -6,9 +6,11 @@
 import Data.Time.Format (formatTime)
 import Network.IRC (Command, Message(Message, msg_prefix, msg_command, msg_params), Prefix(NickName), UserName, encode, decode, joinChan, nick, user)
 import Network.IRC.Bot.Commands
-import System.FilePath
-import System.Locale
-import System.Posix
+import System.FilePath ((</>))
+import System.Locale (defaultTimeLocale)
+import System.Posix ( Fd, OpenMode(WriteOnly), OpenFileFlags(append), closeFd, defaultFileFlags
+                    , fdWrite, openFd
+                    )
 
 -- TODO: This should be modified so that a formatting filter can be applied to the log messages
 -- TODO: should be updated so that log file name matches channel
diff --git a/ircbot.cabal b/ircbot.cabal
--- a/ircbot.cabal
+++ b/ircbot.cabal
@@ -1,5 +1,5 @@
 Name:                ircbot
-Version:             0.1.4
+Version:             0.1.5
 Synopsis:            A library for writing irc bots
 Homepage:            http://patch-tag.com/r/stepcut/ircbot
 License:             BSD3
@@ -32,7 +32,7 @@
                   old-locale == 1.0.*,
                   parsec     == 3.1.*,
                   time       == 1.4.*,
-                  unix       == 2.5.*,
+                  unix       >= 2.4 && < 2.6,
                   random     == 1.0.*
 
   -- Modules not exported by this package.
