Fixed cpack generation.