Sounds like the specific implementation for the <random> header changed and it's expecting now a constexpr function for min() and max(), but Thor only sees to provide a static method.
The fix would either be to downgrade the C++ standard you're using or update Thor yourself.