fixed Makefile.am (AM_TESTS_ENVIRONMENT can be used only after automake 1.12)