Fix for 64-bit platform