Fixed missing libraries problems in clearquest and HPQC