fixing cpack legacy file