fix compilation on old boost