Set static vars as environment variable for links