Port to autotools.