Fix makefile for automake