fix x64 linking