Fixes exception name/value with recent boost version

Fixes exception name/value with recent boost version