Change remove_target_sections to method on program_space