test: remove environment setting

Automake seems to have changed meaning.