fixed boost compiler errors from boost1.54