fix build with current automake