Update makefile for automake 1.13

Update makefile for automake 1.13