Only include OSAtomic if on osx