In bet/profile.cpp the header <algorithm> must be included. Don't now why it compiles on macOS without ...
bet/profile.cpp
<algorithm>
std::minmax() has been removed from C++17! This should be replaced.
std::minmax()