If an Autotools project is built and then the Makefile.in is changed somehow to
remove an existing target, the next update of the Build Special Targets fails to
remove the now non-existent target.
A fix has been applied so that previous generated targets are removed before
calculating the new targets to add. This solves the problem.