Remove target file before linking