Unable to do complex reduction with openmp when using mpicxx compilers

I am trying to compile the following reproducer which does a complex reduction with OpenMP, but I am unable to compile it on the GCC compilers.

build steps

module load usc cmake
git clone https://github.com/TaufeqRazakh/Complex_Reduction_GCC_13.0.0_reproducer
cd Complex_Reduction_GCC_13.0.0_reproducer
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=mpicxx ..
make -j8