Correctly handle 64-bit processes