Remove infinite recursion in linker