Compiling godot-cpp error on MacOS: call to 'abs' is ambiguous

Hi, apologies if this is the wrong category or forum to post this, but I am having issues compiling godot-cpp.

Mac OS 10.15 (intel chip)
Godot version: 4.2
godot-cpp version: 4.2 or master (fails with both)
clang++ version: 11.0.3


scons platform=macos arch=x86_64 generate_bindings=yes
In file included from src/classes/low_level.cpp:31:
In file included from gen/include/godot_cpp/classes/file_access.hpp:38:
In file included from gen/include/godot_cpp/variant/packed_string_array.hpp:38:
In file included from gen/include/godot_cpp/variant/string.hpp:38:
In file included from include/godot_cpp/variant/char_string.hpp:34:
In file included from include/godot_cpp/templates/cowdata.hpp:36:
include/godot_cpp/core/math.hpp:569:9: error: call to 'abs' is ambiguous
        return std::abs(x);
include/godot_cpp/variant/vector2i.hpp:122:47: note: in instantiation of function template specialization 'godot::Math::abs<int>' requested here
        Vector2i abs() const { return Vector2i(Math::abs(x), Math::abs(y)); }
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/math.h:760:1: note: candidate function
abs(float __lcpp_x) _NOEXCEPT {return ::fabsf(__lcpp_x);}

Moved to Help cateogory and added godot-4 tag, you’ll get more answers that way.