mk: fix linker script when re-building