fix dmapi test suite to work with more recent autotools