Fix order of set_target_properties and target_link_libraries
Merge branch 'feature'