fix linking library problem

Signed-off-by: xiehuc <xiehuc@gmail.com>