fix compile error.

Signed-off-by: Jianmin Zhou <toandrew@infthink.com>