Switch to autotools