fixed bug in x64 detection