Fix build with GHC 7.8 (unsafePerformIO was not in scope)
Merge pull request #1 from nh2/fix-build-ghc-7.8

Fix build with GHC 7.8 (unsafePerformIO was not in scope)