env_eeprom: Move conditional compilation to Makefile