Started to use autotools

* Renamed Makefile's to Makefiles.in's
* Modified Makefile.in's to use autoconf substitution variables.
* Added VPATH feature.