Correctly pass the environment variable into the synthing process.