Add #define HAVE_GETENV 1 appended to all other config files.