Use autotools as build system

Change-Id: I87079303477ebbc15404f4ab2ce04377032e2632