Fixed compilation error with boost 1.85