fixed boost compilation issue with sssp