Workaround for cabal install invalidating build state.
Fix bug in load/store atomicity handling. See issue #66.