Work around Travis' old automake version.

Automake is to cool to allow you to check its version and do things differently if
on a new version.

Instead, we'll just pass the TEST_ENVIRONMENT through make variables.
This will fail when the Travis environment contains Automake 1.13, but ce la vie.