boost 1.54 compatibility