adding automake support