platfrom x64 fixes