x86-64 linking fix