add cpack configuration
fix cpack configuration