Fix 64-bit support