Sensitivity of optimal programs with respect to changes in target stocks: The case of irreversible investment