1.Fix unexpected repeated hip runtime lib building 2.Seperate test cmake from top cmake. Change-Id: I1ae457effd639d6c25bca293c1724b026be21ecd