Adaptation for 64 Bit usage