[cmake] remove unused and broken CPack code