Fix makefile for automake 1.13

Fix makefile for automake 1.13