The correct thing to do is to add proper autotools dependencies:
```
depends_on :autoconf => :build
depends_on :automake => :build
depends_on :libtool => :build
```
And drop all ENV settings.