Issue #839 - cabal install error in yesod-core on Windows fix

Works combined with https://github.com/razvan-panda/haskell-lockfree/commit/8d3fe9f454e0ddc8b9ed2e9f7c62b12a3220a549.