added support for 64 bit archs