currently won't build on macos because for some reason apple doesn't ship with a compiler with (proper) c++17 support.