CA-108155: fix 64-bit compilation