Cpack fixes for windows (fixes #207)