add build condition

Signed-off-by: bigcat <bigcatfeed@gmail.com>