fix cmake and cpack config

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