fix link script