Fixes set_target_properties