Fixed a bug wtih boost 1.46