added basic support for autotools