Made program ready for autotools.