Fix compile with newer automake