Added patching and verbose messaging to linker