fix broken copy relocations from dynamic linker cleanup