[CMakeList] fix bug in target link properties