Added initial support for x64 architecture

Signed-off-by: Mikhail Grigorev <sleuthhound@gmail.com>