Make the linker script work recursively