Added cleanTargetName and renamed targetName to compileTargetName.