Add 64-bit support.
Basic implementation. Not working!