fix boost 1.52 compile error