fixed cmake policy CMP0022:

either use all-plain or all-keyword style of target_link_libraries