Added autoconf support, simpler Makefile.in