Fixing the issue with the build not being able to find the env variable