Making getenv universal