Use autotools instead of basic Makefile