boost 1.54 compatiable fix