Fixes serious bug in Atomic.get on Windows