Add Automake logic