Checks for environment variables to ensure licenses are accepted before compiling.