target: fix copying of licenses for SDK/toolchain