Fixed bug with linking project because of variables with same names.