Fix buggy test cases.
VC++ has <atomic> in recent versions.