Small modification not to overwrite TARGET variable. No significant changes for standard use, already done in ORCHIDEE_2_2 [7474]