replaces makefile with autotools