fixed environment variable for Darwin