Add environment variable for opt flags.