Make sure the target binary gets deleted when the linker has failed.