Convert to autotools