Added support for autotools