[patch] fix compilation with boost 1.67