fixed bug in cpack install