Replace add_definitions with target properties