fix build error when generating .so

N/A

Change-Id: I02729df5b3ec2b30108097e0c650b1237f5c2099
Signed-off-by: liyufang <liyufang@xiaomi.com>