libcore: fix build break on build libclua and liblua.

N/A

Change-Id: Ic6e319d535aa1b7592d18e386444afd4659fcc21
Signed-off-by: liminghao <liminghao@xiaomi.com>