Switch target_link_libraries from using generator expression to prevent bug in exports file adding the syntax as part of lib list.