Fixed cmake library dependency export problem