updated for 64-bit archs.