Fail to build on macOS with boost 1.76

Using various options to build graph-tool on macOS (brew and generic build), I'm getting the following error:

In file included from ./graph_avg_correlations.hh:21:
./graph_correlations.hh:113:22: error: no template named 'greater' in namespace 'boost::mpl'; did you mean simply 'greater'?
            typename mpl::greater<typename mpl::sizeof_<Type1>::type,

Is it some update in boost (I'm using the latest 1.76) or another issue? Thanks for the help!

Has nothing to do with MacOS. I encounter the same error: