Changed address align function to work for 64 bits.