Fixed x64 platform

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