Removing un needed code from .targets file