Fixed compatibility with older boost