CDRIVER-190 Check overflow - fix build