Trying to make this compatible with boost 1.46.