fix x64 cross compiles