Fix typo in setting of target properties