try to fix compile error with old boost