cpack: final fixes to make the debian package installable