improved int64 handling for 32bit environment (RT-76395)