Remove boost::exception dep.