Specific tool id for cores, fix Null pointer excpetion in toolchain editor

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>
Also changed tool's id for static lib and on Linux

Signed-off-by: Yunlu Zhang <Yunlu.Zhang@synopsys.com>