CPack is still needed for Windows

This partially reverts commit dafd9c308fef47530654dccdf4d063cea24a5ba5.
This partially reverts commit 7f836cc01beb51ad62ae03ddc4feed41fac579b2.