Replace deprecated getenv(X) with environment[X].

`std.process.getenv` is now deprecated, so use `std.process.environment` instead.