Fix tool editor error for shared library

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