support for x86_64
Created attachment 733 [details] fix for x86_64
Applied with modifications in 1.2.0-alt1
thanks