Added support for 64 bit architecture.

Added support for 64 bit systems, complete missed it when working on it.

Thanks to Kirrus for pointing that out and the info to fix it.