Compare environment variables as string