Use env infrastructure for IE enum bugfix