Fix automake support.