fix boost version comparison