Building packages for distribution has various dependencies on compiled code, so these do not belong in cmake/modules.
This patch also consolidates some of the CPack configuration so there is less action-at-a-distance from the top-level CMakeLists.txt