Fix CPack configuration and add dist target

Finally we can make proper source tarballs.