Update 64 bit types

The minimum changes to correct the SAMCLI.DLL crashes are now committed to this branch.