digger: Fix 64-bit builds