Errors for atomic operations in JUCE VST3

I’m using JUCE 6.1.0 to build a VST3 plugin in MacOS 13.0 beta and I’m getting these errors. Does anyone know why?

.../OSAtomicDeprecated.h:814:23: No member named '__c11_atomic_fetch_add' in namespace 'std'

.../OSAtomicDeprecated.h:908:32: No member named '__c11_atomic_fetch_or' in namespace 'std'

.../OSAtomicDeprecated.h:944:32: No member named '__c11_atomic_fetch_and' in namespace 'std'

.../OSAtomicDeprecated.h:980:32: No member named '__c11_atomic_fetch_xor' in namespace 'std'

It looks the problem is here: JUCE/juce_StandardHeader.h at b08520c2de1771af3dfcbfbc0e0b6b0b5eb083b0 · juce-framework/JUCE · GitHub

It’s using a deprecated header from the OS. Is there a way to fix it?