fix to move ld config to target.mk