Use portable-atomic to support platforms without 64-bit atomics