Include atomicModifyIORef' for GHC 7.4
Merge pull request #26 from kazu-yamamoto/fix-for-ghc-7.4

Include atomicModifyIORef' for GHC 7.4