The boost version 1.71 shipped with UG4 is not compatible with CXX17.
I suggest moving back to CXX14. This fix is applied in 36f24a2.
The aforementioned defines are not 100% compatible, as of now. In particular, we cannot use JSON from python.
A tentative fix has been added in 6b9d74a. I do hope, this is complete and does not break anything.
@einfisch: What do you think? Please feel free to revert!