Fixed issue about environment variables not being able to be set from run time instead of build time